package com.itheima.service.db;

import com.itheima.domain.db.soul.SoulQuestion;
import com.itheima.domain.vo.PageBeanVo;

import java.util.List;

public interface SoulQuestionService {

    List<SoulQuestion> findByLevel(Long examId);

    Long findExamIdByQuestionId(String questionId);

    PageBeanVo findByPage(int pageNumber, int pageSize);

    void save(SoulQuestion soulQuestion);

    int findQuestionId();

    void deleteById(Long questionId);

    int findExamId(Long questionId);

    SoulQuestion findById(Long questionId);

    void update(SoulQuestion soulQuestion);
}
